const path = require("path")
const webpack = require('webpack')
const webpackMerge = require("webpack-merge")
const common = require("./webpack.common")

module.exports = webpackMerge.merge(common, {
  mode: "development",
  devtool: "eval-cheap-module-source-map",
  devServer: {
    hot: true,
    port: 3000,
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin()
  ],
});
